<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>

<script>
    var arr = [1,2,3,4,5,6,7];
    //console.log(arr.slice(3, 6));
    console.log(arr.splice(2,2,'a','b','v'));
    console.log(arr);

</script>


</body>
</html>